const app = getApp();

Page({
  data: {
    userInfo: null
  },
  onLoad: function () {
    this.setData({
      userInfo: app.globalData.userInfo
    });
  },
  goToRepair: function () {
    wx.navigateTo({
      url: '/pages/student/repair/repair'
    });
  },
  goToMyOrders: function () {
    wx.navigateTo({
      url: '/pages/student/myorders/myorders'
    });
  },
  goToMall: function () {
    wx.navigateTo({
      url: '/pages/student/mall/mall'
    });
  }
})